﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ZHello.GDI;

namespace ZHello.Test.GDI
{
    [TestClass]
    public class DrawBezier
    {
        [TestMethod]
        public void Main()
        {
            var f = new Form()
            {
                Text = "Draw Bezier",
                Size = new System.Drawing.Size(800,600),
            };

            f.Paint += (s, e) =>
              {
                  DrawBezierUnit.DrawBezier(e.Graphics);
                  DrawBezierUnit.DrawBeziers(e.Graphics);
              };
            f.ShowDialog();
        }
    }
}
